package com.ruan.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName:CartCenterOpenfeign
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/7/3 16:43
 **/
@FeignClient(value = "cart-center",path = "/cart")
public interface CartCenterOpenfeign {
    @RequestMapping("/deleteCartByUserId/{id}")
    public void deleteCartByUserId(@PathVariable(value = "id") Integer id);

    @PostMapping("/deleteCartByUserIds")
    public void deleteCartByUserIds(@RequestBody Integer[] ids);
}
